This resource address returns the named label stored for the monitoring history timespans.
URL Parameters | |
---|---|
format | The format of the returned data. Can be either
json (default), or xml . This value overrides the Accept header
if both are present. |
Request Headers | |
---|---|
Accept | The expected MIME type of the response. If the
format parameter is present, it takes precedence over the Accept header. |
Response Headers | |
---|---|
Content-type | The MIME type of the data in the response
body. Depending upon the value of the format parameter or Accept header, either
text/html , application/xml or application/json .
|
Upon success, MarkLogic Server returns status code 200 (OK). The response body contains the label information.
manage-user
role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
The structure of the output returned from this REST API is as follows:
label:label
http://localhost:8002/manage/v2/meters/labels/mylabel ==> Returns information on the 'mylabel' label.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.